package com.tianfei.crowd;

import com.tianfei.crowd.config.OSSProperties;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author: Herz
 * @date: 2021/8/2 23:55
 */
// 启用配置类，并制定配置类
@EnableConfigurationProperties({OSSProperties.class})
// 开启 Feign 客户端功能
@EnableFeignClients
@SpringBootApplication
public class CrowdFunding13MemberProjectConsumer {

    public static void main(String[] args) {
        SpringApplication.run(CrowdFunding13MemberProjectConsumer.class, args);
    }
}
